package generadorDescriptores.test;

import generadorDescriptores.dom.JoinsDom;

import java.util.LinkedHashMap;
import java.util.Map;

import org.w3c.dom.Document;

import com.project.frba.bi.descriptor.DatabaseDescriptor;
import com.project.frba.bi.descriptor.Join;
import com.sun.org.apache.xerces.internal.dom.DocumentImpl;

public class PruebaMapa {

	
	
	public static void main(String[] args) {
		Map<String, Join> joins = new LinkedHashMap<String, Join>();
		
		Join join = new Join("join1", new DatabaseDescriptor(new DocumentImpl()));
		joins.put("join1", join);
		System.out.println(joins.size());
		joins.remove("join1");
		System.out.println(joins.size());
		

	}

}
